package com.pubinfo.passbook.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 报账单关联收入及项目成本信息
 *
 * @TableName t_contract_writeoff_relation
 */
@Data
@TableName(value = "t_contract_writeoff_relation")
public class TContractWriteoffRelation implements Serializable {

    @ApiModelProperty(value = "报账单id")
    @TableField(value = "writeoff_id")
    private Integer writeoffId;

    @ApiModelProperty(value = "wbs项目编码")
    @TableField(value = "project_code")
    private String projectCode;

    @ApiModelProperty(value = "收入凭证报账单号")
    @TableField(value = "witeoffInstanceCode")
    private String witeoffInstanceCode;

    @ApiModelProperty(value = "本次冲销或结转金额")
    @TableField(value = "amount")
    private BigDecimal amount;


}
